package com.tencent.miniproject.constants;

/**
 * Created by PC on 2017/9/25.
 */

public class Constant {

    public static final int CONNECT_TIMEOUT = 6;
    public static final int READ_TIMEOUT = 100;
    public static final int WRITE_TIMEOUT = 60;

    public static final int GRAVITY_TOP = 0;
    public static final int GRAVITY_CENTER = 1;
    public static final int GRAVITY_BOTTOM = 2;

    //fragment
     public static final int FRAGMENT_TAG = 0;
    public static final int FRAGMENT_NEIGHBOR = 1;
    public static final int FRAGMENT_FRIENDS = 2;
    public static final int FRAGMENT_MINE_BILL = 3;     //我的账单
    public static final int FRAGMENT_OTHER_BILL = 4;    //别人的账单


    //static variable  request code
    public static final int TAKE_PHOTO = 1001;
    public static final int GET_POSITION = 1002;

    public static final int MAP_POST_ID = 1003;
    public static final int MAP_KEYWORD = 1004;

    //发布成功刷新，返回
    public static final int REFRESH_PUBLISH_SUCCESS_FINISH = 1005;

    //服务器地址
    public static final String SERVER_URL = "http://111.230.93.13/mybatis";
//    public static final String SERVER_URL = "http://192.168.155.1:8080/98k";

    //QQ登录appid
    public static final String APP_ID = "1106940064";

    // cookie
    public static String COOKIE = "";
    public static final String TEXT_MSG_RESULT = "result";
    public static final String TEXT_MSG_MESSAGE = "message";

    public static final String BASEURL = "http://111.230.93.13/mybatis/";

    // 用户个人信息
    public static String USER_HEAD_URL = "";
    public static String USER_NAME = "";

    public static final String[] imageUrls = new String[]{
            "http://img.my.csdn.net/uploads/201309/01/1378037235_7476.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037235_9280.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037234_3539.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037234_6318.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037194_2965.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037193_1687.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037193_1286.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037192_8379.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037178_9374.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037177_1254.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037177_6203.jpg",
            "http://img.my.csdn.net/uploads/201309/01/1378037152_6352.jpg",
    };

}
